#ifndef __MY_FS_H__
#define __MY_FS_H__
#include <Arduino.h>
#include <LittleFS.h>
#include <ArduinoJson.h>
typedef struct{
    void (*init)(void);
    void (*write)(JsonDocument Tdata,String path);
    JsonDocument (*read)(String path);
    void (*work)(void);
    void (*clean)(String path);
}MY_FS_OPS;

typedef struct{
    MY_FS_OPS* ops;
}MY_FS;

extern MY_FS my_fs;


#endif //__MY_FS_H__
